// main.js
import { createApp } from 'vue'
import App from './App.vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

// 创建 Vue 应用
const app = createApp(App)
app.use(router)


// 使用 ElementPlus UI 库
app.use(ElementPlus,{
    locale: zhCn,
})

// 挂载应用
app.mount('#app')